package com.zhuangwei.service;

import com.zhuangwei.domain.MybatisUser;

import java.util.List;

/**
 * @author LeviCoder
 * @create 2019-01-29 19:34
 */
public interface MybatisUserService
{
    MybatisUser save(MybatisUser user);

    List<MybatisUser> saveList(List<MybatisUser> userList);

    MybatisUser update(MybatisUser user);

    Integer delete(MybatisUser user);

    MybatisUser findById(Long id);

    MybatisUser findByName(String name);

    List<MybatisUser> findAll();

    List<MybatisUser> findMybatisUserByPage(Integer pageNum, Integer pageSize);
}
